﻿using System;

namespace AiFrame.InterfaceLib.Data.Patterns
{
    /// <summary>
    /// Represents a class that interacts as a observer.
    /// It can be notified when changes occur in a observable
    /// class.
    /// </summary>
    public interface IObserver
    {
        /// <summary>
        /// Notifies the observer class that changes have been
        /// occured.
        /// </summary>
        /// <param name="sender">The calling class.</param>
        /// <param name="obj">A object.</param>
        void NotifyChanges(Object sender, Object obj);
    }
}